package com.iflytek.hive.need8;


import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;

public class MaxGoodsReducer extends Reducer<GoodsAmountBean, NullWritable, GoodsAmountBean, NullWritable> {
    @Override
    protected void reduce(GoodsAmountBean key, Iterable<NullWritable> values, Context context)throws IOException, InterruptedException {
        context.write(key, NullWritable.get());
    }
}
